import streamlit as st

st.sidebar.title("This is sidebar")
contacted_type = st.sidebar.selectbox("How would you like to be contacted", ["Email","Home phone","Mobile phone"])


tab1,tab2,tab3 = st.tabs(["Tab1","Tab2","Tab3"])

with tab1:
    st.write("This is tab1")
with tab2:
    st.write("This is tab2")
with tab3:
    st.write("This is tab3")

col1,col2,col3 = st.columns(3)
with col1:
    st.write("This is col1")
with col2:
    st.write("This is col2")
with col3:
    st.write("This is col3")

col11,col22,col33 = st.columns([1,2,3])
with col11:
    st.write("This is col11")
with col22:
    st.write("This is col22")
with col33:
    st.write("This is col33")

with st.container(border=True):
    st.write("This is a container")
    st.write("This is a container")
    st.write("This is a container")
    st.write("This is a container")

place_holder = st.empty()
if st.button("Fill empty data"):
    place_holder.write("This is generated from an empty folder.")

with st.expander("Expand for detail:"):
    st.write("This is a expander")
    st.image("https://arthas.aliyun.com/images/web-console-local.png")

st.button("Refresh",help="Click to refresh button")